package com.example.springboot3demo.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.springboot3demo.model.User;

public interface UserMapper extends BaseMapper<User>{

    /**
     * 根据 name 检索一条记录
     * @param name
     * @return
     */
    User getByName (String name);

}
